import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 原料价格*/
// 创建
export const quotationProductPriceCreate = (data) => postRequest('/quotation/product-price/create', data);

// 更新
export const quotationProductPriceUpdate = (data) => putRequest('/quotation/product-price/update', data);

// 删除
export const quotationProductPriceDelete = (params) => deleteRequest('/quotation/product-price/delete', params);

// 获得
export const quotationProductPriceGet = (params) => getRequest('/quotation/product-price/get', params);

// 分页
export const quotationProductPricePage = (params) => getRequest('/quotation/product-price/page', params);
export const quotationProductPriceHistoryPage = (params) => getRequest('/quotation/product-price/history-page', params);

export const quotationProductPriceUpdateAuditState = (data) => postRequest('/quotation/product-price/update-audit-state', data);

export const quotationProductPriceCount = (params) => getRequest('/quotation/product-price/count', params);
export const quotationProductPriceWeeksCount = (params) => getRequest('/quotation/product-price/weeks-count', params);
